package com.ysd.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name="usersignin")
public class Usersignin {

	@Id
	private String usid;
	private String ucardid;//用户ID
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date checktime;//签到时间 
	private String uname;//用户名称
	private Integer CheckState;//签到状态
	private Integer IsCancel;//是否取消签到
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date CheckOutTime;//取消签到时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date outtime;//签退时间
}
